package com.translate.web.service;

import java.util.List;

import com.translate.entity.CustomerPoolMember;
import com.translate.web.param.contract.ICustomerPoolAddMemberParam;
import com.basic.service.contract.IBaseService;

/**
 * 公海员工
 * @author 111
 */
public interface ICustomerPoolStaffService extends IBaseService<CustomerPoolMember>{

	/**
	 * 添加跟进人
	 * @param customerId
	 * @param followId
	 * @return
	 */
	int addFollowPerson(int customerId, long followId);
	
	/**
	 * 添加员工
	 * @return
	 */
	<S extends ICustomerPoolAddMemberParam> int addStaff(List<S> list, int createUserId, int seaId);
	
	/**
	 * 更新公海员工
	 * @return
	 */
	<S extends ICustomerPoolAddMemberParam> int updateStaff(List<S> list, int createUserId, int seaId);
}
